<!DOCTYPE html>
            
<HTML>
<HEAD>
<meta name="booktitle" content="Developing Applications With Objective Caml" >
 <meta charset="ISO-8859-1"><meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
<META name="GENERATOR" content="hevea 1.05-7 of 2000-02-24">
<META NAME="Author" CONTENT="Christian.Queinnec@lip6.fr">
<LINK rel=stylesheet type="text/css" href="videoc-ocda.css">
<script language="JavaScript" src="videoc.js"><!--
//--></script>
<TITLE>
 Testing the installation
</TITLE>
</HEAD>
<BODY class="regularBody">
<A HREF="book-ora009.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora012.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
<HR>

<H2> Testing the installation</H2>Once installation of the Objective CAML development environment is done, it is
necessary to test it, mainly to verify the search paths for executables and
libraries. The simplest way is to launch the interactive toplevel of the
system and write the first little program that follows: 
<PRE>
String.concat "/" ["a"; "path"; "here"] ;;
</PRE>This expression concatenates several character strings,
inserting the ``/'' character between each word. The notation
<TT>String.concat</TT> indicates use of the function
<TT>concat</TT> from the <TT>String</TT>. 
If the library search path is not correct, the system will print an error.
It will be noted that the system indicates that the computation returns a
character string and prints the result.<BR>
<BR>
The documentation of this function <TT>String.concat</TT> can be found in
the online reference manual by following the links ``The standard library''
then ``Module String: string operations''.<BR>
<BR>
To exit the interactive toplevel, the user must type the directive ``<CODE>#quit ;;</CODE>''.

<BR>
<BR>
<BR>
<BR>
<HR>
<A HREF="book-ora009.html"><IMG SRC ="previous_motif.gif" ALT="Previous"></A>
<A HREF="index.html"><IMG SRC ="contents_motif.gif" ALT="Contents"></A>
<A HREF="book-ora012.html"><IMG SRC ="next_motif.gif" ALT="Next"></A>
</BODY>
</HTML>
